CFLAG = -std=c++11  -I ../build/release-install-cpp11/include/
LFLAG = -L ../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -lpthread -ljsoncpp

all: client server
server: test_server.cc
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)
client: test_client.cc
	g++ -g $(CFLAG) $^ -o $@ $(LFLAG)

.PHONY: clean
clean:
	rm -f server client